import dis
def test(a):
    a = a + a
    print (a)

def test1(a):
    a += a
    print (a)
print("a=a+a")
dis.dis(test)
print()
print("a+=a")
dis.dis(test1)

